﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FileDB
{

    public enum RCategory
    {
        //1
        PostReminder = 1,
        //2
        GetReminder = 2,
        //3
        ImportantReminder = 3,
        //4
        RenewReminder = 4,
        //5
        //OtherReminder = 5,

    }



    public class ReminderCategory
    {
        public static Dictionary<string, RCategory> Map
        {
            get
            {
                var dic = new Dictionary<string, RCategory>();
                dic.Add(PostReminder, RCategory.PostReminder);
                dic.Add(GetReminder, RCategory.GetReminder);
                dic.Add(ImportantReminder, RCategory.ImportantReminder);
                //dic.Add(OtherReminder, RCategory.OtherReminder);
                dic.Add(RenewReminder, RCategory.RenewReminder);
                return dic;

            }
        }
        public static Dictionary< RCategory,string> RMap
        {
            get
            {
                var dic = new Dictionary< RCategory,string>();
                dic.Add(RCategory.PostReminder, PostReminder);
                dic.Add(RCategory.GetReminder, GetReminder);
                dic.Add(RCategory.ImportantReminder, ImportantReminder);
                //dic.Add(RCategory.OtherReminder, OtherReminder);
                dic.Add(RCategory.RenewReminder, RenewReminder);
                return dic;

            }
        }
        //1
        public const string PostReminder = "缴租提醒";
        //2
        public const string GetReminder = "收租提醒";
        //3
        public const string ImportantReminder = "重要事项";
        //4
        public const string RenewReminder = "续约提醒";
        //5
        //public const string OtherReminder = "其他提醒";

    }
}
